package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tb_item_cat
 */
@Data
public class TbItemCat implements Serializable {
    /**
     * 类目ID
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    @TableId
    private Long id;

    /**
     * 父类目ID=0时，代表的是一级的类目
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private Long parentId;

    /**
     * 类目名称
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private String name;

    /**
     * 状态。可选值:1(正常),2(删除)
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private Integer status;

    /**
     * 排列序号，表示同级类目的展现次序，如数值相等则按名称次序排列。取值范围:大于零的整数
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private Integer sortOrder;

    /**
     * 该类目是否为父类目，1为true，0为false
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private Boolean isParent;

    /**
     * 创建时间
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private Date created;

    /**
     * 创建时间
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private Date updated;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tb_item_cat
     *
     * @mbg.generated Sat Jan 09 11:04:41 CST 2021
     */
    private static final long serialVersionUID = 1L;
}